
from fastapi import APIRouter
from starlette.responses import HTMLResponse

from views.home import home,reg_page,reg_result

ViewsRouter = APIRouter()


# @ViewsRouter.get("/items/{id}",response_class=HTMLResponse)
# async def read_item(id: str):
#     return
ViewsRouter.get("/items/{id}",response_class=HTMLResponse)(home)
ViewsRouter.get("/reg",response_class=HTMLResponse)(reg_page)
ViewsRouter.post("/reg/form",response_class=HTMLResponse)(reg_result)
